package org.myspring.lifecycle;

import org.springframework.beans.BeansException;
import org.springframework.beans.factory.config.BeanPostProcessor;

public class InitUserService implements BeanPostProcessor {
	
	@Override
	public Object postProcessBeforeInitialization(Object bean, String beanName) throws BeansException {
		System.out.println("3、BeanPostProcessor::postProcessBeforeInitialization "+beanName+" call...");		
		return bean;
	}

	@Override
	public Object postProcessAfterInitialization(Object bean, String beanName) throws BeansException {
		System.out.println("6、BeanPostProcessor::postProcessAfterInitialization "+beanName+" call...");		
		return bean;
	}
}
